package com.bcu.calculus.utils;

public class BranchUtil {
    public static String toHanStr(Integer num) {
        String result =null;
        if(num<=7&&num>=0){
            if (num==0){
                result = "不属于任何党小组";
            }
            if (num==7){
                result = "其他";
            }
            if (num<7&&num>=1){
                result = "第"+num+"党小组";
            }
        }else {
            result = null;
        }


        return result;
    }


}

